# Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
# All rights reserved.
#
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license. See the accompanying LICENSE file for details.

cmake_minimum_required(VERSION 3.12)
project(myModules)

# Enable C++14
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Must be set before find_package(YARP)
set(BUILD_SHARED_LIBS ON)

find_package(YARP REQUIRED)

yarp_begin_plugin_library(myModules)

add_subdirectory(testmoduleFoo)
add_subdirectory(testmoduleBar)

yarp_end_plugin_library(myModules)

add_subdirectory(moduleLoader)
